home *** CD-ROM | disk | FTP | other *** search
/ Chip 1996 September / CHIP Eylül 1996.iso / utils / povray / povsrc.lzh / machine / unix / xwindows.mak < prev   
Makefile  |  1994-02-06  |  4KB  |  123 lines

  1. # Makefile for Persistence of Vision Raytracer 
  2. # This file is released to the public domain.
  3. #
  4. #
  5. # MAKE Macros and Such...
  6. #
  7.  
  8. #***************************************************************
  9. #*
  10. #*                      UNIX Makefile
  11. #*
  12. #***************************************************************
  13.  
  14. # The exact options may depend on your compiler.  Feel free to modify
  15. # these as required.
  16.  
  17. # Added for colorx addition.  You _do_ have $X11 defined by your .cshrc,
  18. # don't you?
  19. X11 = /usr
  20. CFLAGS=        -c -O 
  21. LFLAGS =    -O  $(X11)/lib/libXt.a $(X11)/lib/libXext.a -lX11 \
  22.                 -o povray
  23. CC =        cc
  24.  
  25. OBJ    = o
  26. MACHINE_OBJ    = xwindows.$(OBJ)
  27.  
  28. # Make's implicit rules for making a .o file from a .c file...
  29. #
  30. .c.o :
  31.     $(CC) $(CFLAGS) $*.c
  32.  
  33.  
  34. POVOBJS = povray.$(OBJ) bezier.$(OBJ) blob.$(OBJ) bound.$(OBJ) boxes.$(OBJ)  \
  35.       camera.$(OBJ) colour.$(OBJ) cones.$(OBJ) csg.$(OBJ) discs.$(OBJ)   \
  36.       dump.$(OBJ) express.$(OBJ) gif.$(OBJ) gifdecod.$(OBJ)              \
  37.       hfield.$(OBJ) iff.$(OBJ) image.$(OBJ) lighting.$(OBJ)              \
  38.       matrices.$(OBJ) normal.$(OBJ) objects.$(OBJ) parse.$(OBJ)          \
  39.       pigment.$(OBJ) planes.$(OBJ) point.$(OBJ) poly.$(OBJ)              \
  40.       quadrics.$(OBJ) raw.$(OBJ) ray.$(OBJ) render.$(OBJ) spheres.$(OBJ) \
  41.       targa.$(OBJ) texture.$(OBJ) tokenize.$(OBJ) triangle.$(OBJ)        \
  42.       txttest.$(OBJ) vect.$(OBJ) $(MACHINE_OBJ)
  43.  
  44. povray:    $(POVOBJS)
  45.     cc $(POVOBJS) -lm $(LFLAGS)
  46.  
  47. povray.$(OBJ) : povray.c povproto.h frame.h vector.h config.h
  48.  
  49. xwindows.$(OBJ): xwindows.c xpov.icn frame.h povproto.h config.h
  50.     $(CC) $(CFLAGS) -I$(X11)/include xwindows.c
  51.  
  52. bezier.$(OBJ): config.h frame.h povproto.h vector.h
  53.  
  54. blob.$(OBJ): config.h frame.h povproto.h vector.h
  55.  
  56. bound.$(OBJ): config.h frame.h povproto.h vector.h
  57.  
  58. boxes.$(OBJ): config.h frame.h povproto.h vector.h
  59.  
  60. camera.$(OBJ): config.h frame.h povproto.h vector.h
  61.  
  62. colour.$(OBJ): config.h frame.h povproto.h vector.h
  63.  
  64. cones.$(OBJ): config.h frame.h povproto.h vector.h
  65.  
  66. csg.$(OBJ): config.h frame.h povproto.h vector.h
  67.  
  68. discs.$(OBJ): config.h frame.h povproto.h vector.h
  69.  
  70. dump.$(OBJ): config.h frame.h povproto.h
  71.  
  72. express.$(OBJ): config.h frame.h parse.h povproto.h vector.h
  73.  
  74. gif.$(OBJ): config.h frame.h povproto.h
  75.  
  76. gifdecod.$(OBJ): config.h frame.h povproto.h
  77.  
  78. hfield.$(OBJ): config.h frame.h povproto.h vector.h
  79.  
  80. iff.$(OBJ): config.h frame.h povproto.h
  81.  
  82. image.$(OBJ): config.h frame.h povproto.h texture.h vector.h
  83.  
  84. lighting.$(OBJ): config.h frame.h povproto.h vector.h
  85.  
  86. matrices.$(OBJ): config.h frame.h povproto.h vector.h
  87.  
  88. normal.$(OBJ): config.h frame.h povproto.h texture.h vector.h
  89.  
  90. objects.$(OBJ): config.h frame.h povproto.h vector.h
  91.  
  92. parse.$(OBJ): config.h frame.h parse.h povproto.h vector.h
  93.  
  94. pigment.$(OBJ): config.h frame.h povproto.h texture.h vector.h
  95.  
  96. planes.$(OBJ): config.h frame.h povproto.h vector.h
  97.  
  98. point.$(OBJ): config.h frame.h povproto.h vector.h
  99.  
  100. poly.$(OBJ): config.h frame.h povproto.h vector.h
  101.  
  102. quadrics.$(OBJ): config.h frame.h povproto.h vector.h
  103.  
  104. raw.$(OBJ): config.h frame.h povproto.h
  105.  
  106. ray.$(OBJ): config.h frame.h povproto.h vector.h
  107.  
  108. render.$(OBJ): config.h frame.h povproto.h vector.h
  109.  
  110. spheres.$(OBJ): config.h frame.h povproto.h vector.h
  111.  
  112. targa.$(OBJ): config.h frame.h povproto.h
  113.  
  114. texture.$(OBJ): config.h frame.h povproto.h texture.h vector.h
  115.  
  116. tokenize.$(OBJ): config.h frame.h parse.h povproto.h
  117.  
  118. triangle.$(OBJ): config.h frame.h povproto.h vector.h
  119.  
  120. txttest.$(OBJ): config.h frame.h povproto.h texture.h vector.h
  121.  
  122. vect.$(OBJ): config.h frame.h povproto.h vector.h
  123.